package com.matou.auth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.matou.server.api.system.po.TUser;
import org.apache.ibatis.annotations.Param;

/**
 * @Author CM
 * @Date 2021/5/9 23:16
 * @Description UserMapper
 * @Version 1.0
 */
public interface UserMapper extends BaseMapper<TUser> {

    /**
     * 方法描述: 根据用户名查询用户信息
     * @author chenmiao0212
     * @date 2021/6/11 11:53
     * @param username 用户名
     * @return TUser 用户信息
     */
    TUser findByName(@Param("username") String username);
}
